package com.dayuanit.dy17.atm.atmbackoffice.service;

import com.dayuanit.dy17.atm.atmbackoffice.dto.SalaryDTO;
import com.dayuanit.dy17.atm.atmbackoffice.dto.SalaryDetailDTO;
import com.dayuanit.dy17.atm.atmbackoffice.entity.Salary;
import com.dayuanit.dy17.atm.atmbackoffice.excel.SalaryData;

import java.util.List;

public interface ISalaryService {

    void createSalaryOrder(long uploadUserId, String salaryFileName, String remark);

    List<SalaryDTO> loadSalaryOrder();

    void saveSalaryDetail(long salaryId, List<SalaryData> salaryDatas);

    List<SalaryDetailDTO> querySalaryDetail(long salaryId);

    void approval(long salaryId, int approvalStatus);

    void payOff(Salary salary);
}
